class Blog < ActiveRecord::Base
  belongs_to :user
  has_many :articles, :dependent => :destroy, :order => "created_at DESC"

  validates_presence_of :title, :user_id
end
